package cn.jbolt.core.gen;

import cn.jbolt.core.util.JBoltArrayUtil;

import javax.sql.DataSource;

public class _JBoltOracleMetaBuilder extends JBoltMetaBuilder {
	private static final String[] skipTableNames = new String[] { "dept", "bonus", "emp", "salgrade" };

	public _JBoltOracleMetaBuilder(DataSource dataSource) {
		super(dataSource);
	}

	@Override
	protected boolean isSkipTable(String tableName) {
		if (JBoltArrayUtil.contains(skipTableNames, tableName.trim().toLowerCase())) {
			return true;
		}
		return false;
	}
}
